<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>mission25</title>
    <style type="text/css">
        *{
            box-sizing: border-box;
            cursor: pointer;
        }
        ul{
            padding-left: 50px;
            padding-bottom: 0px;
            list-style-image: url("file2.jpg");
            list-style-position: outside;
            border-left: dotted darkcyan 1px;
        }
        li p{
            transition: background 2s;
            -webkit-transition:background 2s ;
            -moz-transition: background 2s;
            -ms-transition: background 2s;
            -o-transition: background 2s;
        }
        body{
            display: flex;
            justify-content: center;
            align-items: center;
        }
        #tree{
            margin-top: 0;
            flex-basis: 35%;
            box-shadow: 5px 5px 5px gray,-1px -1px 2px lightgray;
            min-height: 500px;
        }
        #menus{
            display: none;
            position: absolute;
            border: solid black 1px;
            width: 100px;
            height: 150px;
            box-shadow: -1px -1px 2px lightgray;
            background-color: rgba(225,225,225,0.8);
        }
        #menus div{
            padding-top: 15px;
            text-align: center;
            height: 33%;
        }
        #menus div:hover{
            border-left: 1px solid black;
            background-color: rgba(255,255,240,0.8);
        }
        #contral{
            margin-left: 3em;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }
        #search-btn{
            background-color: lavender;
            box-shadow: lightblue 1px 1px;
            height: 2em;
            border-radius: 5px;
            width: 200px;
            margin-top: 1em;

        }
        #search-input{
            border: solid 2px dodgerblue;
            width: 200px;
            height: 40px;
            cursor: default;
        }
        #search-input:active{
            height:50px;
        }
    </style>
</head>
<body>
    <ul id="tree">
        <li id="root" class="node">
            <p>百度</p>
            <ul>
                <li id="left1" class="node"><p>移动服务事业群</p>
                    <ul>
                        <li id="left21" class="node"><p>贴吧</p>
                            <ul>
                                <li id="left31" class="node"><p>贴吧API</p></li>
                            </ul>
                        </li>
                        <li id="left22" class="node"><p>移动云</p>
                            <ul>
                                <li id="left32" class="node"><p>移动云API</p></li>
                            </ul>
                        </li>
                        <li id="left23" class="node"><p>LBS</p>
                            <ul>
                                <li id="left33" class="node"><p>LBS开发</p></li>
                                <li id="left34" class="node"><p>运维</p></li>
                            </ul>
                        </li>
                    </ul>
                </li>
            </ul>
        </li>
    </ul>
    <div id="contral">
        <input type="text" id="search-input" placeholder="请输入检索内容，模糊查找">
        <button class="btn" id="search-btn">搜索</button>
        <h3>其他功能请在左侧右击鼠标</h3>
    </div>
    <div id="menus">
        <div id="create">新建</div>
        <div id="rename">重命名</div>
        <div id="delete">删除</div>
    </div>

<!--<script type="text/javascript" src="task.js"></script>-->
<script type="text/javascript" src="main.js"></script>
</body>
</html>